package com.hxzy.springbootrocketconsumer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 信用
 * @author Fan
 * finished
 */
@Data
@TableName(value = "t_credit")
public class Credit implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "user_id")
    private Integer userId;

    @TableField(value = "username")
    private String username;
    /**
     * 积分
     */
    @TableField(value = "integration")
    private Integer integration;


}
